package com.yhyl.nursing.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class taskTest {
    @Scheduled(cron = "0 0 5 * * ?")
    public void test() {
        System.out.println("定时任务开始执行...");
    }

}
